-------------------------------------------------------------
--					Add Procedure
-------------------------------------------------------------
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

IF EXISTS(SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Sales_DeleteSales]') AND type in (N'P', N'PC'))
BEGIN
DROP PROCEDURE [Sales_DeleteSales]
END
GO

Create Procedure [dbo].[Sales_DeleteSales]
(
	@SalesIDs nvarchar(max)
)
AS
	exec	
	('delete Products where ProductID in (' + @SalesIDs +')' )
		
	